module.exports = function (gulp, plugins, options) {
    return function (done) {
        gulp.src('./src/static/style/**/*.less')
            .pipe(plugins.plumber())
            // .pipe(plugins.sourcemaps.init())
            // .pipe(plugins.changed('./dist/static/style'))
            .pipe(plugins.less())
            // .pipe(plugins.sourcemaps.write('.'))
            .pipe(plugins.rev())
            .pipe(gulp.dest('dist/static/style'))
            .pipe(plugins.rev.manifest())
            .pipe(gulp.dest("dist/rev/less")).on('end', () => {
                done();
            });

    };
};